home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8542
/
8542.xpi
/
chrome
/
lastpass.jar
/
content
/
getlp.js
< prev
next >
Wrap
Text File
|
2010-02-14
|
2KB
|
8 lines
try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");var LP=Components.classes["@lastpass.com/lastpass;1"].getService().wrappedJSObject;LP.check_key_for_changes(1)}catch(anError){dump("ERROR: "+anError)}window.addEventListener("load",function(D){var A=window.document.getElementById("appcontent");
if(!A){A=window.document.getElementById("browser_content")}if(!A){var C=Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo);LP.isFennec=(C.ID=="{a23983c0-fd0e-11dc-95ff-0800200c9a66}");if(LP.isFennec){A=D.currentTarget;LP.fennecBrowser=Browser}}if(A){if(!A.LPsubmitoverride){A.LPsubmitoverride=true;
A.addEventListener("DOMContentLoaded",LP.lponcontentloaded,false);A.addEventListener("pageshow",LP.lploadpage,false);if(LP.isFennec){var B=document.getElementById("tabs");if(B){B.addEventListener("TabSelect",LP.lptabselect,false)}}else{if(typeof(getBrowser)=="function"){getBrowser().tabContainer.addEventListener("TabSelect",LP.lptabselect,false)
}}A.addEventListener("submit",LP.lpsubmitafter,false);A.addEventListener("lpformsubmit",LP.lpformsubmit,false,true);A.addEventListener("change",LP.lpfieldchange,false)}}},false);window.addEventListener("focus",function(A){var B=A?A.target:this;if(typeof(B.getBrowser)=="function"){LP.lpSetCurrentWindow(B)
}},false);if(typeof(window)!="undefined"&&typeof(document)!="undefined"){window.addEventListener("unload",function(){LP.lpUnload(window,document)},false)};
LP.setupUrlPrefix();
LP.lpbuilt = "Feb 14 2010 20:17:20";